Package | hl7.fhir.uv.xver |
Type | StructureMap |
Id | Id |
FHIR Version | R5 |
Source | http://hl7.org/fhir/extensions/https://build.fhir.org/ig/HL7/fhir-cross-version/StructureMap-OperationOutcome5to4B.html |
Url | http://hl7.org/fhir/StructureMap/OperationOutcome5to4B |
Version | 0.1.0 |
Status | active |
Date | 2024-02-22T03:16:50+00:00 |
Name | OperationOutcome5to4B |
Title | OperationOutcome Transforms: R5 to R4B |
Experimental | False |
Realm | uv |
Authority | hl7 |
Description | OperationOutcomeTransformsR5toR4B |
No resources found
No resources found
Note: links and images are rebased to the (stated) source
/// url = 'http://hl7.org/fhir/StructureMap/OperationOutcome5to4B' /// name = 'OperationOutcome5to4B' /// title = 'OperationOutcome Transforms: R5 to R4B' /// status = 'active' uses "http://hl7.org/fhir/5.0/OperationOutcome" alias OperationOutcomeR5 as source uses "http://hl7.org/fhir/4.0/OperationOutcome" alias OperationOutcomeR4B as target imports "http://hl7.org/fhir/StructureMap/*5to4B" group OperationOutcome(source src : OperationOutcomeR5, target tgt : OperationOutcomeR4B) extends DomainResource <<type+>> { src.issue as s -> tgt.issue as t then OperationOutcomeIssue(s, t); } group OperationOutcomeIssue(source src, target tgt) extends BackboneElement { src.severity as v -> tgt.severity = translate(v, 'http://hl7.org/fhir/ConceptMap/OperationOutcome.issue.severity-R5toR4', 'code'); src.code as v -> tgt.code = translate(v, 'http://hl7.org/fhir/ConceptMap/OperationOutcome.issue.code-R5toR4', 'code'); src.details -> tgt.details; src.diagnostics -> tgt.diagnostics; src.location -> tgt.location; src.expression -> tgt.expression; }
{
"resourceType" : "StructureMap",
"id" : "OperationOutcome5to4B",
"text" : {
"status" : "generated",
"div" : "<div xmlns=\"http://www.w3.org/1999/xhtml\"><pre class=\"fml\">\r\n<span style=\"color: #cc00cc\">/// <b>url</b> = </span><span style=\"color: blue\">'http://hl7.org/fhir/StructureMap/OperationOutcome5to4B'</span>\r\n<span style=\"color: #cc00cc\">/// <b>name</b> = </span><span style=\"color: blue\">'OperationOutcome5to4B'</span>\r\n<span style=\"color: #cc00cc\">/// <b>title</b> = </span><span style=\"color: blue\">'OperationOutcome Transforms: R5 to R4B'</span>\r\n<span style=\"color: #cc00cc\">/// <b>status</b> = </span><span style=\"color: blue\">'active'</span>\r\n\r\n<b>uses</b><span style=\"color: navy\"> "</span>http://hl7.org/fhir/5.0/OperationOutcome<span style=\"color: navy\">" </span><b>alias </b>OperationOutcomeR5 <b>as </b><b>source</b>\r\n<b>uses</b><span style=\"color: navy\"> "</span>http://hl7.org/fhir/4.0/OperationOutcome<span style=\"color: navy\">" </span><b>alias </b>OperationOutcomeR4B <b>as </b><b>target</b>\r\n\r\n<b>imports</b><span style=\"color: navy\"> "</span>http://hl7.org/fhir/StructureMap/*5to4B<span style=\"color: navy\">"\r\n</span>\r\n<b>group </b>OperationOutcome<span style=\"color: navy\">(</span><b>source</b> <span style=\"color: maroon\">src</span><span style=\"color: navy\"> : </span>OperationOutcomeR5, <b>target</b> <span style=\"color: maroon\">tgt</span><span style=\"color: navy\"> : </span>OperationOutcomeR4B<span style=\"color: navy\">)</span><b> extends </b>DomainResource<b> <<type+>></b><span style=\"color: navy\"> {\r\n</span> src.issue<b> as </b><span style=\"color: maroon\">s</span><span style=\"color: navy\"><b> -> </b></span>tgt.issue<b> as </b><span style=\"color: maroon\">t</span><b> then </b>OperationOutcomeIssue<span style=\"color: navy\">(</span><span style=\"color: maroon\">s</span><span style=\"color: navy\">, </span><span style=\"color: maroon\">t</span><span style=\"color: navy\">)</span><span style=\"color: navy\">;</span>\r\n<span style=\"color: navy\">}\r\n\r\n</span><b>group </b>OperationOutcomeIssue<span style=\"color: navy\">(</span><b>source</b> <span style=\"color: maroon\">src</span>, <b>target</b> <span style=\"color: maroon\">tgt</span><span style=\"color: navy\">)</span><b> extends </b>BackboneElement<span style=\"color: navy\"> {\r\n</span> src.severity<b> as </b><span style=\"color: maroon\">v</span><span style=\"color: navy\"><b> -> </b></span>tgt.severity = <b>translate</b><span style=\"color: navy\">(</span><span style=\"color: maroon\">v</span><span style=\"color: navy\">, </span><span style=\"color: blue\">'http://hl7.org/fhir/ConceptMap/OperationOutcome.issue.severity-R5toR4'</span><span style=\"color: navy\">, </span><span style=\"color: blue\">'code'</span><span style=\"color: navy\">)</span><span style=\"color: navy\">;</span>\r\n src.code<b> as </b><span style=\"color: maroon\">v</span><span style=\"color: navy\"><b> -> </b></span>tgt.code = <b>translate</b><span style=\"color: navy\">(</span><span style=\"color: maroon\">v</span><span style=\"color: navy\">, </span><span style=\"color: blue\">'http://hl7.org/fhir/ConceptMap/OperationOutcome.issue.code-R5toR4'</span><span style=\"color: navy\">, </span><span style=\"color: blue\">'code'</span><span style=\"color: navy\">)</span><span style=\"color: navy\">;</span>\r\n src.details<span style=\"color: navy\"><b> -> </b></span>tgt.details<span style=\"color: navy\">;</span>\r\n src.diagnostics<span style=\"color: navy\"><b> -> </b></span>tgt.diagnostics<span style=\"color: navy\">;</span>\r\n src.location<span style=\"color: navy\"><b> -> </b></span>tgt.location<span style=\"color: navy\">;</span>\r\n src.expression<span style=\"color: navy\"><b> -> </b></span>tgt.expression<span style=\"color: navy\">;</span>\r\n<span style=\"color: navy\">}\r\n\r\n</span></pre></div>"
},
"extension" : [
{
"url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg",
"valueCode" : "fhir"
},
{
"url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm",
"valueInteger" : 1,
"_valueInteger" : {
"extension" : [
{
"url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-conformance-derivedFrom",
"valueCanonical" : "http://hl7.org/fhir/extensions/ImplementationGuide/hl7.fhir.uv.xver"
}
]
}
},
{
"url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status",
"valueCode" : "draft",
"_valueCode" : {
"extension" : [
{
"url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-conformance-derivedFrom",
"valueCanonical" : "http://hl7.org/fhir/extensions/ImplementationGuide/hl7.fhir.uv.xver"
}
]
}
}
],
"url" : "http://hl7.org/fhir/StructureMap/OperationOutcome5to4B",
"version" : "0.1.0",
"name" : "OperationOutcome5to4B",
"title" : "OperationOutcome Transforms: R5 to R4B",
"status" : "active",
"date" : "2024-02-22T03:16:50+00:00",
"publisher" : "HL7 International / FHIR Infrastructure",
"contact" : [
{
"telecom" : [
{
"system" : "url",
"value" : "http://www.hl7.org/Special/committees/fiwg"
}
]
}
],
"description" : "OperationOutcomeTransformsR5toR4B",
"jurisdiction" : [
{
"coding" : [
{
"system" : "http://unstats.un.org/unsd/methods/m49/m49.htm",
"code" : "001"
}
]
}
],
"structure" : [
{
"url" : "http://hl7.org/fhir/5.0/OperationOutcome",
"mode" : "source",
"alias" : "OperationOutcomeR5"
},
{
"url" : "http://hl7.org/fhir/4.0/OperationOutcome",
"mode" : "target",
"alias" : "OperationOutcomeR4B"
}
],
"import" : [
"http://hl7.org/fhir/StructureMap/*5to4B"
],
"group" : [
{
"name" : "OperationOutcome",
"extends" : "DomainResource",
"typeMode" : "type-and-types",
"input" : [
{
"name" : "src",
"type" : "OperationOutcomeR5",
"mode" : "source"
},
{
"name" : "tgt",
"type" : "OperationOutcomeR4B",
"mode" : "target"
}
],
"rule" : [
{
"name" : "issue",
"source" : [
{
"context" : "src",
"element" : "issue",
"variable" : "s"
}
],
"target" : [
{
"context" : "tgt",
"element" : "issue",
"variable" : "t"
}
],
"dependent" : [
{
"name" : "OperationOutcomeIssue",
"parameter" : [
{
"valueId" : "s"
},
{
"valueId" : "t"
}
]
}
]
}
]
},
{
"name" : "OperationOutcomeIssue",
"extends" : "BackboneElement",
"input" : [
{
"name" : "src",
"mode" : "source"
},
{
"name" : "tgt",
"mode" : "target"
}
],
"rule" : [
{
"name" : "severity",
"source" : [
{
"context" : "src",
"element" : "severity",
"variable" : "v"
}
],
"target" : [
{
"context" : "tgt",
"element" : "severity",
"transform" : "translate",
"parameter" : [
{
"valueId" : "v"
},
{
"valueString" : "http://hl7.org/fhir/ConceptMap/OperationOutcome.issue.severity-R5toR4"
},
{
"valueString" : "code"
}
]
}
]
},
{
"name" : "code",
"source" : [
{
"context" : "src",
"element" : "code",
"variable" : "v"
}
],
"target" : [
{
"context" : "tgt",
"element" : "code",
"transform" : "translate",
"parameter" : [
{
"valueId" : "v"
},
{
"valueString" : "http://hl7.org/fhir/ConceptMap/OperationOutcome.issue.code-R5toR4"
},
{
"valueString" : "code"
}
]
}
]
},
{
"name" : "details",
"source" : [
{
"context" : "src",
"element" : "details",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "details",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
},
{
"name" : "diagnostics",
"source" : [
{
"context" : "src",
"element" : "diagnostics",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "diagnostics",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
},
{
"name" : "location",
"source" : [
{
"context" : "src",
"element" : "location",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "location",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
},
{
"name" : "expression",
"source" : [
{
"context" : "src",
"element" : "expression",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "expression",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
}
]
}
]
}
XIG built as of ??metadata-date??. Found ??metadata-resources?? resources in ??metadata-packages?? packages.